package DesignPatern.A16_观察者模式.QSB.A02_抽象模式;

/**
 * @Author: Du
 * @Date: 2021/8/2 12:39
 */
public class A01_Main
{
    public static void main(String[] args)
    {
        ConcreteSubject subject = new ConcreteSubject();
        
        Observer observer = new ConcreteObserver();
        
        subject.addObserver(observer);
        
        subject.doSomeThing();
    }
}
